package com.lonewalker.sparrow.entity;

import com.baomidou.mybatisplus.annotation.TableName;
import lombok.*;

import java.io.Serializable;

/**
 * 用户信息表 实体类。
 *
 * @author lonewalker
 * @since 1.0
 */
@EqualsAndHashCode(callSuper = true)
@Data
@Builder
@NoArgsConstructor
@AllArgsConstructor
@TableName("sys_user")
public class SysUser extends BaseEntity implements Serializable {
    private static final long serialVersionUID = 1L;
    /**
     * 账号
     */
    private String account;
    /**
     * 密码
     */
    private String password;
    /**
     * 姓名
     */
    private String name;
    /**
     * 昵称
     */
    private String nickName;
    /**
     * 性别
     */
    private Integer gender;
    /**
     * 组织id
     */
    private Long orgId;
    /**
     * 领导
     */
    private Long leader;
    /**
     * 用户账号状态 1：正常 2：禁用
     */
    private Integer state;

}
